import { saveLog } from '..';
import { logType } from '../interface';
export const createRoutesLog = (LOG_TYPE: logType, ROUTE_PATH_LOG: any) => {
  // 如果跳转路径一致则不记录日志，减少非必要日志
  if (ROUTE_PATH_LOG.fromRoutePath === ROUTE_PATH_LOG.toRoutePath) return;
  saveLog(LOG_TYPE, ROUTE_PATH_LOG);
};
